package com.fishery.order.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author run
 * @since 2021/1/31 23:32
 */
public class OrderVo {

	@ApiModelProperty(value = "订单编号")
	private String id;

	@ApiModelProperty(value = "产品编号")
	private String productId;

	@ApiModelProperty(value = "目标id(baseId、customerId)")
	private String targetId;

	@ApiModelProperty(value = "物流订单id")
	private String logisticsId;

	@ApiModelProperty(value = "目标名称")
	private String targetName;

	@ApiModelProperty(value = "产品名")
	private String productName;

	@ApiModelProperty(value = "基地编号")
	private String baseId;

	@ApiModelProperty(value = "发货方类型（1养殖基地、2加工厂、3冷库）")
	private Integer sourceType;

	@ApiModelProperty(value = "产品重量")
	private Double weight;

	@ApiModelProperty(value = "目标的类型(1个人、2企业、3加工厂、4冷库)")
	private Integer targetType;

	@ApiModelProperty(value = "收货地址")
	private String receiveAddress;

	@ApiModelProperty(value = "收货地址经度")
	private String addressLongitude;

	@ApiModelProperty(value = "收货地址纬度")
	private String addressLatitude;

	@ApiModelProperty(value = "收货联系电话")
	private String phoneNumber;

	@ApiModelProperty(value = "金额(万元)")
	private BigDecimal money;

	@ApiModelProperty(value = "数量")
	private Integer amount;

	@ApiModelProperty(value = "订单状态（0、未送达，1、送达）")
	private Integer status;

	@ApiModelProperty(value = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public Integer getTargetType() {
		return targetType;
	}

	public void setTargetType(Integer targetType) {
		this.targetType = targetType;
	}

	public String getTargetId() {
		return targetId;
	}

	public void setTargetId(String targetId) {
		this.targetId = targetId;
	}

	public String getTargetName() {
		return targetName;
	}

	public void setTargetName(String targetName) {
		this.targetName = targetName;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getBaseId() {
		return baseId;
	}

	public void setBaseId(String baseId) {
		this.baseId = baseId;
	}

	public Double getWeight() {
		return weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	public String getReceiveAddress() {
		return receiveAddress;
	}

	public void setReceiveAddress(String receiveAddress) {
		this.receiveAddress = receiveAddress;
	}

	public String getAddressLongitude() {
		return addressLongitude;
	}

	public void setAddressLongitude(String addressLongitude) {
		this.addressLongitude = addressLongitude;
	}

	public String getAddressLatitude() {
		return addressLatitude;
	}

	public void setAddressLatitude(String addressLatitude) {
		this.addressLatitude = addressLatitude;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getLogisticsId() {
		return logisticsId;
	}

	public void setLogisticsId(String logisticsId) {
		this.logisticsId = logisticsId;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Integer getSourceType() {
		return sourceType;
	}

	public void setSourceType(Integer sourceType) {
		this.sourceType = sourceType;
	}

}
